package com.ma.gulimall.ware.feign;

import com.ma.gulimall.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName OrderFeignService
 * @Author: mayongqiang
 * @DATE 2021/11/14 20:19
 * @Description: 订单服务
 */

@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping(value = "/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
